package org.jeecg.modules.rental.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.rental.entity.RentalStore;

import java.util.List;

/**
 * @Description: 租车网点
 * @Author: sean
 * @Date:   2022-03-29
 * @Version: V1.0
 */
public interface RentalStoreMapper extends BaseMapper<RentalStore> {

    Page<RentalStore> selectJoinPage(@Param("page") Page page, @Param("param") RentalStore req);

    String lastMerchantCode(@Param("ew") QueryWrapper<RentalStore> sysOrgCode);

    List<RentalStore> selectJoinList(@Param("param")  RentalStore req);

//
//    List<ShopPointLocationDto> shopListByLocation(@Param("latitude") Double latitude, @Param("longitude") Double longitude,
//                                                  @Param("orgCode") String orgCode, @Param("distanceLimit") Double distanceLimit);
//
//    ShopPointLocationDto shopByLocation(@Param("latitude") Double latitude, @Param("longitude") Double longitude, @Param("orgCode") String orgCode);


}
